<template>
    <div>
        <el-button @click="addQuery">点击添加查询条件</el-button>
        <el-form>
            <el-form-item v-for="(item, index) in this.queryList" :key="index">
                <el-
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
export default {
    props: ['initQueryList', 'tableInfo'],
    data() {
        return {
            queryList: []
        }
    },
    created() {
        if (this.initQueryList) {
            this.initQueryList.forEach(element => {
                this.queryList.push(element)
            })
        }
    },
    methods: {
        addQuery() {
            this.queryList.push({})
        }
    }
};
</script>

<style></style>